package com.jgame.secondarymarket.domain.product.repository;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jgame.secondarymarket.domain.product.entity.ProductProperties;

import java.util.List;

/**
 * @title: ProductPropertiesRepository
 * @Author Wangsj
 * @Date: 2021/7/22
 */
public interface ProductPropertiesRepository extends IService<ProductProperties> {

    void deletByProductId(Long productId);

    void deletByIds(Long productId, List<Long> propertiesId);

    List<ProductProperties> listByProductId(Long productId);

    List<ProductProperties> listByProductId(List<Long> productIds);

}
